package cn.edu.neu.springbootdemo.mapper;

import cn.edu.neu.springbootdemo.model.Movie;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MovieMapper {
    List<Movie> showMovieList();

    void addMovie(Movie movie);

    Boolean deleteMovie(int parseInt);

    List<Movie> getfindMovie(Movie movie);

    Movie findById(int film_id);

    void updateMovie(Movie movie);
}
